package com.stu.ssm_02.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * ClassName: AjaxResult
 * Package: com.stu.ssm_02.vo
 * Description: @Version 1.0
 */
@Data
@AllArgsConstructor
// 返回一个实体 T
public class AjaxResult<T> {
    private Integer code;
    private String msg;
    private T data;

    public AjaxResult() {
        this.code=200;
        this.msg="操作成功";
    }
}
